/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.tordroid.model;

/**
 *
 * @author Christian Simon
 */
public class IconEntry {

    private int titelRes;
    private String titel;
    private int icon;
    private String data;

    public IconEntry(int titel, String data, int icon) {
        this.titelRes = titel;
        this.data = data;
        this.icon = icon;
        this.titel = null;
    }

    public IconEntry(String titel, String data, int icon) {
        this.titel = titel;
        this.data = data;
        this.icon = icon;
        this.titelRes = 0;
    }

    /**
     * @return the race
     */
    public int getTitelRes() {
        return titelRes;
    }
    
    public String getTitel() {
        return titel;
    }

    /**
     * @param race the race to set
     */
    public void setTitel(int titel) {
        this.titelRes = titel;
    }
    
    public void setTitel(String titel) {
        this.titel = titel;
    }

    /**
     * @return the icon
     */
    public int getIcon() {
        return icon;
    }

    /**
     * @param icon the icon to set
     */
    public void setIcon(int icon) {
        this.icon = icon;
    }

    /**
     * @return the data
     */
    public String getData() {
        return data;
    }

    /**
     * @param data the data to set
     */
    public void setData(String data) {
        this.data = data;
    }
}
